package com.woniu.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderContext implements Serializable {
    private static final long serialVersionUID = 1L;

    private String orderId;
    private Integer status;
    private String errorMsg;
    private boolean inventoryOk = true; // 默认库存OK
    private boolean approvalSuccess = false; // 标记审批是否成功
}